﻿using System;
using System.Collections.Generic;
using DLM.Domain.Model;
using DLM.Infrastructure.Domain;
using DLM.Domain.DTO;

namespace DLM.Domain.Repositories
{
    public interface IBonusRepository:IRepository<Bonus,int>
    {
        Bonus FindByUser(int userID);

        IEnumerable<BonusDTO> FindBonusDTO(int pageIndex, int pageSize);

        void BachUpdate(IList<Bonus> list);
    }
}
